import {
    bH as e,
    cf as t,
    at as o,
    aG as n,
    K as r,
    w as a,
    aU as i,
    aQ as s,
    aM as l,
    a as u,
    bS as p,
    r as d,
    b6 as c,
    c$ as f,
    d0 as v,
    aT as m,
    d1 as g,
    am as y,
    aD as h,
    aH as b,
    d as w,
    R as x,
    ar as O,
    aw as k,
    as as A,
    o as R,
    c as T,
    p as B,
    U as E,
    bv as C,
    B as S,
    d2 as P,
    aO as M,
    H as j,
    d3 as F,
    b5 as D,
    k as H,
    d4 as L,
    bG as I,
    h as _,
    i as $,
    V as W,
    s as N,
    a_ as z,
    aJ as U,
    bF as q,
    aN as V,
    bU as K,
    C as Z,
    v as G,
    bW as X,
    bw as Y,
    cV as J,
    d5 as Q,
    t as ee,
    d6 as te,
    an as oe,
    d7 as ne,
    by as re,
    P as ae,
    d8 as ie,
    cE as se
} from "./index.115af62d1729265196717.js";
import {e as le, k as ue, U as pe, r as de} from "./index.eec34c841729265196717.js";
import {h as ce, g as fe, d as ve} from "./el-button.c1876bd01729265196717.js";

const me = (e, t, {checkForDefaultPrevented: o = !0} = {}) => n => {
    const r = null == e ? void 0 : e(n);
    if (!1 === o || !r) return null == t ? void 0 : t(n)
}, ge = e => t => "mouse" === t.pointerType ? e(t) : void 0;
const ye = (...t) => o => {
    t.forEach((t => {
        e(t) ? t(o) : t.value = o
    }))
}, he = t({type: o(Boolean), default: null}), be = t({type: o(Function)}), we = t => {
    const o = `update:${t}`, u = `onUpdate:${t}`;
    return {
        useModelToggle: ({
                             indicator: p,
                             toggleReason: d,
                             shouldHideWhenRouteChanges: c,
                             shouldProceed: f,
                             onShow: v,
                             onHide: m
                         }) => {
            const g = n(), {emit: y} = g, h = g.props, b = r((() => e(h[u]))), w = r((() => null === h[t])), x = t => {
                !0 !== p.value && (p.value = !0, d && (d.value = t), e(v) && v(t))
            }, O = t => {
                !1 !== p.value && (p.value = !1, d && (d.value = t), e(m) && m(t))
            }, k = t => {
                if (!0 === h.disabled || e(f) && !f()) return;
                const n = b.value && s;
                n && y(o, !0), !w.value && n || x(t)
            }, A = e => {
                if (!0 === h.disabled || !s) return;
                const t = b.value && s;
                t && y(o, !1), !w.value && t || O(e)
            }, R = e => {
                l(e) && (h.disabled && e ? b.value && y(o, !1) : p.value !== e && (e ? x() : O()))
            };
            return a((() => h[t]), R), c && void 0 !== g.appContext.config.globalProperties.$route && a((() => ({...g.proxy.$route})), (() => {
                c.value && p.value && A()
            })), i((() => {
                R(h[t])
            })), {
                hide: A, show: k, toggle: () => {
                    p.value ? A() : k()
                }, hasUpdateHandler: b
            }
        }, useModelToggleProps: {[t]: he, [u]: be}, useModelToggleEmits: [o]
    }
};
we("modelValue");
var xe = "top", Oe = "bottom", ke = "right", Ae = "left", Re = "auto", Te = [xe, Oe, ke, Ae], Be = "start", Ee = "end",
    Ce = "clippingParents", Se = "viewport", Pe = "popper", Me = "reference", je = Te.reduce((function (e, t) {
        return e.concat([t + "-" + Be, t + "-" + Ee])
    }), []), Fe = [].concat(Te, [Re]).reduce((function (e, t) {
        return e.concat([t, t + "-" + Be, t + "-" + Ee])
    }), []),
    De = ["beforeRead", "read", "afterRead", "beforeMain", "main", "afterMain", "beforeWrite", "write", "afterWrite"];

function He(e) {
    return e ? (e.nodeName || "").toLowerCase() : null
}

function Le(e) {
    if (null == e) return window;
    if ("[object Window]" !== e.toString()) {
        var t = e.ownerDocument;
        return t && t.defaultView || window
    }
    return e
}

function Ie(e) {
    return e instanceof Le(e).Element || e instanceof Element
}

function _e(e) {
    return e instanceof Le(e).HTMLElement || e instanceof HTMLElement
}

function $e(e) {
    return "undefined" != typeof ShadowRoot && (e instanceof Le(e).ShadowRoot || e instanceof ShadowRoot)
}

var We = {
    name: "applyStyles", enabled: !0, phase: "write", fn: function (e) {
        var t = e.state;
        Object.keys(t.elements).forEach((function (e) {
            var o = t.styles[e] || {}, n = t.attributes[e] || {}, r = t.elements[e];
            !_e(r) || !He(r) || (Object.assign(r.style, o), Object.keys(n).forEach((function (e) {
                var t = n[e];
                !1 === t ? r.removeAttribute(e) : r.setAttribute(e, !0 === t ? "" : t)
            })))
        }))
    }, effect: function (e) {
        var t = e.state, o = {
            popper: {position: t.options.strategy, left: "0", top: "0", margin: "0"},
            arrow: {position: "absolute"},
            reference: {}
        };
        return Object.assign(t.elements.popper.style, o.popper), t.styles = o, t.elements.arrow && Object.assign(t.elements.arrow.style, o.arrow), function () {
            Object.keys(t.elements).forEach((function (e) {
                var n = t.elements[e], r = t.attributes[e] || {},
                    a = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : o[e]).reduce((function (e, t) {
                        return e[t] = "", e
                    }), {});
                !_e(n) || !He(n) || (Object.assign(n.style, a), Object.keys(r).forEach((function (e) {
                    n.removeAttribute(e)
                })))
            }))
        }
    }, requires: ["computeStyles"]
};

function Ne(e) {
    return e.split("-")[0]
}

var ze = Math.max, Ue = Math.min, qe = Math.round;

function Ve(e, t) {
    void 0 === t && (t = !1);
    var o = e.getBoundingClientRect(), n = 1, r = 1;
    if (_e(e) && t) {
        var a = e.offsetHeight, i = e.offsetWidth;
        i > 0 && (n = qe(o.width) / i || 1), a > 0 && (r = qe(o.height) / a || 1)
    }
    return {
        width: o.width / n,
        height: o.height / r,
        top: o.top / r,
        right: o.right / n,
        bottom: o.bottom / r,
        left: o.left / n,
        x: o.left / n,
        y: o.top / r
    }
}

function Ke(e) {
    var t = Ve(e), o = e.offsetWidth, n = e.offsetHeight;
    return Math.abs(t.width - o) <= 1 && (o = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
        x: e.offsetLeft,
        y: e.offsetTop,
        width: o,
        height: n
    }
}

function Ze(e, t) {
    var o = t.getRootNode && t.getRootNode();
    if (e.contains(t)) return !0;
    if (o && $e(o)) {
        var n = t;
        do {
            if (n && e.isSameNode(n)) return !0;
            n = n.parentNode || n.host
        } while (n)
    }
    return !1
}

function Ge(e) {
    return Le(e).getComputedStyle(e)
}

function Xe(e) {
    return ["table", "td", "th"].indexOf(He(e)) >= 0
}

function Ye(e) {
    return ((Ie(e) ? e.ownerDocument : e.document) || window.document).documentElement
}

function Je(e) {
    return "html" === He(e) ? e : e.assignedSlot || e.parentNode || ($e(e) ? e.host : null) || Ye(e)
}

function Qe(e) {
    return _e(e) && "fixed" !== Ge(e).position ? e.offsetParent : null
}

function et(e) {
    for (var t = Le(e), o = Qe(e); o && Xe(o) && "static" === Ge(o).position;) o = Qe(o);
    return o && ("html" === He(o) || "body" === He(o) && "static" === Ge(o).position) ? t : o || function (e) {
        var t = -1 !== navigator.userAgent.toLowerCase().indexOf("firefox");
        if (-1 !== navigator.userAgent.indexOf("Trident") && _e(e) && "fixed" === Ge(e).position) return null;
        var o = Je(e);
        for ($e(o) && (o = o.host); _e(o) && ["html", "body"].indexOf(He(o)) < 0;) {
            var n = Ge(o);
            if ("none" !== n.transform || "none" !== n.perspective || "paint" === n.contain || -1 !== ["transform", "perspective"].indexOf(n.willChange) || t && "filter" === n.willChange || t && n.filter && "none" !== n.filter) return o;
            o = o.parentNode
        }
        return null
    }(e) || t
}

function tt(e) {
    return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y"
}

function ot(e, t, o) {
    return ze(e, Ue(t, o))
}

function nt(e) {
    return Object.assign({}, {top: 0, right: 0, bottom: 0, left: 0}, e)
}

function rt(e, t) {
    return t.reduce((function (t, o) {
        return t[o] = e, t
    }), {})
}

var at = {
    name: "arrow", enabled: !0, phase: "main", fn: function (e) {
        var t, o = e.state, n = e.name, r = e.options, a = o.elements.arrow, i = o.modifiersData.popperOffsets,
            s = Ne(o.placement), l = tt(s), u = [Ae, ke].indexOf(s) >= 0 ? "height" : "width";
        if (a && i) {
            var p = function (e, t) {
                    return nt("number" != typeof (e = "function" == typeof e ? e(Object.assign({}, t.rects, {placement: t.placement})) : e) ? e : rt(e, Te))
                }(r.padding, o), d = Ke(a), c = "y" === l ? xe : Ae, f = "y" === l ? Oe : ke,
                v = o.rects.reference[u] + o.rects.reference[l] - i[l] - o.rects.popper[u],
                m = i[l] - o.rects.reference[l], g = et(a),
                y = g ? "y" === l ? g.clientHeight || 0 : g.clientWidth || 0 : 0, h = v / 2 - m / 2, b = p[c],
                w = y - d[u] - p[f], x = y / 2 - d[u] / 2 + h, O = ot(b, x, w), k = l;
            o.modifiersData[n] = ((t = {})[k] = O, t.centerOffset = O - x, t)
        }
    }, effect: function (e) {
        var t = e.state, o = e.options.element, n = void 0 === o ? "[data-popper-arrow]" : o;
        null != n && ("string" == typeof n && !(n = t.elements.popper.querySelector(n)) || !Ze(t.elements.popper, n) || (t.elements.arrow = n))
    }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"]
};

function it(e) {
    return e.split("-")[1]
}

var st = {top: "auto", right: "auto", bottom: "auto", left: "auto"};

function lt(e) {
    var t, o = e.popper, n = e.popperRect, r = e.placement, a = e.variation, i = e.offsets, s = e.position,
        l = e.gpuAcceleration, u = e.adaptive, p = e.roundOffsets, d = e.isFixed, c = i.x, f = void 0 === c ? 0 : c,
        v = i.y, m = void 0 === v ? 0 : v, g = "function" == typeof p ? p({x: f, y: m}) : {x: f, y: m};
    f = g.x, m = g.y;
    var y = i.hasOwnProperty("x"), h = i.hasOwnProperty("y"), b = Ae, w = xe, x = window;
    if (u) {
        var O = et(o), k = "clientHeight", A = "clientWidth";
        if (O === Le(o) && ("static" !== Ge(O = Ye(o)).position && "absolute" === s && (k = "scrollHeight", A = "scrollWidth")), r === xe || (r === Ae || r === ke) && a === Ee) w = Oe, m -= (d && O === x && x.visualViewport ? x.visualViewport.height : O[k]) - n.height, m *= l ? 1 : -1;
        if (r === Ae || (r === xe || r === Oe) && a === Ee) b = ke, f -= (d && O === x && x.visualViewport ? x.visualViewport.width : O[A]) - n.width, f *= l ? 1 : -1
    }
    var R, T = Object.assign({position: s}, u && st), B = !0 === p ? function (e) {
        var t = e.x, o = e.y, n = window.devicePixelRatio || 1;
        return {x: qe(t * n) / n || 0, y: qe(o * n) / n || 0}
    }({x: f, y: m}) : {x: f, y: m};
    return f = B.x, m = B.y, l ? Object.assign({}, T, ((R = {})[w] = h ? "0" : "", R[b] = y ? "0" : "", R.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + m + "px)" : "translate3d(" + f + "px, " + m + "px, 0)", R)) : Object.assign({}, T, ((t = {})[w] = h ? m + "px" : "", t[b] = y ? f + "px" : "", t.transform = "", t))
}

var ut = {
    name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: function (e) {
        var t = e.state, o = e.options, n = o.gpuAcceleration, r = void 0 === n || n, a = o.adaptive,
            i = void 0 === a || a, s = o.roundOffsets, l = void 0 === s || s, u = {
                placement: Ne(t.placement),
                variation: it(t.placement),
                popper: t.elements.popper,
                popperRect: t.rects.popper,
                gpuAcceleration: r,
                isFixed: "fixed" === t.options.strategy
            };
        null != t.modifiersData.popperOffsets && (t.styles.popper = Object.assign({}, t.styles.popper, lt(Object.assign({}, u, {
            offsets: t.modifiersData.popperOffsets,
            position: t.options.strategy,
            adaptive: i,
            roundOffsets: l
        })))), null != t.modifiersData.arrow && (t.styles.arrow = Object.assign({}, t.styles.arrow, lt(Object.assign({}, u, {
            offsets: t.modifiersData.arrow,
            position: "absolute",
            adaptive: !1,
            roundOffsets: l
        })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {"data-popper-placement": t.placement})
    }, data: {}
}, pt = {passive: !0};
var dt = {
    name: "eventListeners", enabled: !0, phase: "write", fn: function () {
    }, effect: function (e) {
        var t = e.state, o = e.instance, n = e.options, r = n.scroll, a = void 0 === r || r, i = n.resize,
            s = void 0 === i || i, l = Le(t.elements.popper),
            u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
        return a && u.forEach((function (e) {
            e.addEventListener("scroll", o.update, pt)
        })), s && l.addEventListener("resize", o.update, pt), function () {
            a && u.forEach((function (e) {
                e.removeEventListener("scroll", o.update, pt)
            })), s && l.removeEventListener("resize", o.update, pt)
        }
    }, data: {}
}, ct = {left: "right", right: "left", bottom: "top", top: "bottom"};

function ft(e) {
    return e.replace(/left|right|bottom|top/g, (function (e) {
        return ct[e]
    }))
}

var vt = {start: "end", end: "start"};

function mt(e) {
    return e.replace(/start|end/g, (function (e) {
        return vt[e]
    }))
}

function gt(e) {
    var t = Le(e);
    return {scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset}
}

function yt(e) {
    return Ve(Ye(e)).left + gt(e).scrollLeft
}

function ht(e) {
    var t = Ge(e), o = t.overflow, n = t.overflowX, r = t.overflowY;
    return /auto|scroll|overlay|hidden/.test(o + r + n)
}

function bt(e) {
    return ["html", "body", "#document"].indexOf(He(e)) >= 0 ? e.ownerDocument.body : _e(e) && ht(e) ? e : bt(Je(e))
}

function wt(e, t) {
    var o;
    void 0 === t && (t = []);
    var n = bt(e), r = n === (null == (o = e.ownerDocument) ? void 0 : o.body), a = Le(n),
        i = r ? [a].concat(a.visualViewport || [], ht(n) ? n : []) : n, s = t.concat(i);
    return r ? s : s.concat(wt(Je(i)))
}

function xt(e) {
    return Object.assign({}, e, {left: e.x, top: e.y, right: e.x + e.width, bottom: e.y + e.height})
}

function Ot(e, t) {
    return t === Se ? xt(function (e) {
        var t = Le(e), o = Ye(e), n = t.visualViewport, r = o.clientWidth, a = o.clientHeight, i = 0, s = 0;
        return n && (r = n.width, a = n.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (i = n.offsetLeft, s = n.offsetTop)), {
            width: r,
            height: a,
            x: i + yt(e),
            y: s
        }
    }(e)) : Ie(t) ? function (e) {
        var t = Ve(e);
        return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t
    }(t) : xt(function (e) {
        var t, o = Ye(e), n = gt(e), r = null == (t = e.ownerDocument) ? void 0 : t.body,
            a = ze(o.scrollWidth, o.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0),
            i = ze(o.scrollHeight, o.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0),
            s = -n.scrollLeft + yt(e), l = -n.scrollTop;
        return "rtl" === Ge(r || o).direction && (s += ze(o.clientWidth, r ? r.clientWidth : 0) - a), {
            width: a,
            height: i,
            x: s,
            y: l
        }
    }(Ye(e)))
}

function kt(e, t, o) {
    var n = "clippingParents" === t ? function (e) {
        var t = wt(Je(e)), o = ["absolute", "fixed"].indexOf(Ge(e).position) >= 0 && _e(e) ? et(e) : e;
        return Ie(o) ? t.filter((function (e) {
            return Ie(e) && Ze(e, o) && "body" !== He(e)
        })) : []
    }(e) : [].concat(t), r = [].concat(n, [o]), a = r[0], i = r.reduce((function (t, o) {
        var n = Ot(e, o);
        return t.top = ze(n.top, t.top), t.right = Ue(n.right, t.right), t.bottom = Ue(n.bottom, t.bottom), t.left = ze(n.left, t.left), t
    }), Ot(e, a));
    return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i
}

function At(e) {
    var t, o = e.reference, n = e.element, r = e.placement, a = r ? Ne(r) : null, i = r ? it(r) : null,
        s = o.x + o.width / 2 - n.width / 2, l = o.y + o.height / 2 - n.height / 2;
    switch (a) {
        case xe:
            t = {x: s, y: o.y - n.height};
            break;
        case Oe:
            t = {x: s, y: o.y + o.height};
            break;
        case ke:
            t = {x: o.x + o.width, y: l};
            break;
        case Ae:
            t = {x: o.x - n.width, y: l};
            break;
        default:
            t = {x: o.x, y: o.y}
    }
    var u = a ? tt(a) : null;
    if (null != u) {
        var p = "y" === u ? "height" : "width";
        switch (i) {
            case Be:
                t[u] = t[u] - (o[p] / 2 - n[p] / 2);
                break;
            case Ee:
                t[u] = t[u] + (o[p] / 2 - n[p] / 2)
        }
    }
    return t
}

function Rt(e, t) {
    void 0 === t && (t = {});
    var o = t, n = o.placement, r = void 0 === n ? e.placement : n, a = o.boundary, i = void 0 === a ? Ce : a,
        s = o.rootBoundary, l = void 0 === s ? Se : s, u = o.elementContext, p = void 0 === u ? Pe : u,
        d = o.altBoundary, c = void 0 !== d && d, f = o.padding, v = void 0 === f ? 0 : f,
        m = nt("number" != typeof v ? v : rt(v, Te)), g = p === Pe ? Me : Pe, y = e.rects.popper,
        h = e.elements[c ? g : p], b = kt(Ie(h) ? h : h.contextElement || Ye(e.elements.popper), i, l),
        w = Ve(e.elements.reference), x = At({reference: w, element: y, strategy: "absolute", placement: r}),
        O = xt(Object.assign({}, y, x)), k = p === Pe ? O : w, A = {
            top: b.top - k.top + m.top,
            bottom: k.bottom - b.bottom + m.bottom,
            left: b.left - k.left + m.left,
            right: k.right - b.right + m.right
        }, R = e.modifiersData.offset;
    if (p === Pe && R) {
        var T = R[r];
        Object.keys(A).forEach((function (e) {
            var t = [ke, Oe].indexOf(e) >= 0 ? 1 : -1, o = [xe, Oe].indexOf(e) >= 0 ? "y" : "x";
            A[e] += T[o] * t
        }))
    }
    return A
}

var Tt = {
    name: "flip", enabled: !0, phase: "main", fn: function (e) {
        var t = e.state, o = e.options, n = e.name;
        if (!t.modifiersData[n]._skip) {
            for (var r = o.mainAxis, a = void 0 === r || r, i = o.altAxis, s = void 0 === i || i, l = o.fallbackPlacements, u = o.padding, p = o.boundary, d = o.rootBoundary, c = o.altBoundary, f = o.flipVariations, v = void 0 === f || f, m = o.allowedAutoPlacements, g = t.options.placement, y = Ne(g), h = l || (y === g || !v ? [ft(g)] : function (e) {
                if (Ne(e) === Re) return [];
                var t = ft(e);
                return [mt(e), t, mt(t)]
            }(g)), b = [g].concat(h).reduce((function (e, o) {
                return e.concat(Ne(o) === Re ? function (e, t) {
                    void 0 === t && (t = {});
                    var o = t, n = o.placement, r = o.boundary, a = o.rootBoundary, i = o.padding, s = o.flipVariations,
                        l = o.allowedAutoPlacements, u = void 0 === l ? Fe : l, p = it(n),
                        d = p ? s ? je : je.filter((function (e) {
                            return it(e) === p
                        })) : Te, c = d.filter((function (e) {
                            return u.indexOf(e) >= 0
                        }));
                    0 === c.length && (c = d);
                    var f = c.reduce((function (t, o) {
                        return t[o] = Rt(e, {placement: o, boundary: r, rootBoundary: a, padding: i})[Ne(o)], t
                    }), {});
                    return Object.keys(f).sort((function (e, t) {
                        return f[e] - f[t]
                    }))
                }(t, {
                    placement: o,
                    boundary: p,
                    rootBoundary: d,
                    padding: u,
                    flipVariations: v,
                    allowedAutoPlacements: m
                }) : o)
            }), []), w = t.rects.reference, x = t.rects.popper, O = new Map, k = !0, A = b[0], R = 0; R < b.length; R++) {
                var T = b[R], B = Ne(T), E = it(T) === Be, C = [xe, Oe].indexOf(B) >= 0, S = C ? "width" : "height",
                    P = Rt(t, {placement: T, boundary: p, rootBoundary: d, altBoundary: c, padding: u}),
                    M = C ? E ? ke : Ae : E ? Oe : xe;
                w[S] > x[S] && (M = ft(M));
                var j = ft(M), F = [];
                if (a && F.push(P[B] <= 0), s && F.push(P[M] <= 0, P[j] <= 0), F.every((function (e) {
                    return e
                }))) {
                    A = T, k = !1;
                    break
                }
                O.set(T, F)
            }
            if (k) for (var D = function (e) {
                var t = b.find((function (t) {
                    var o = O.get(t);
                    if (o) return o.slice(0, e).every((function (e) {
                        return e
                    }))
                }));
                if (t) return A = t, "break"
            }, H = v ? 3 : 1; H > 0; H--) {
                if ("break" === D(H)) break
            }
            t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0)
        }
    }, requiresIfExists: ["offset"], data: {_skip: !1}
};

function Bt(e, t, o) {
    return void 0 === o && (o = {x: 0, y: 0}), {
        top: e.top - t.height - o.y,
        right: e.right - t.width + o.x,
        bottom: e.bottom - t.height + o.y,
        left: e.left - t.width - o.x
    }
}

function Et(e) {
    return [xe, ke, Oe, Ae].some((function (t) {
        return e[t] >= 0
    }))
}

var Ct = {
    name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function (e) {
        var t = e.state, o = e.name, n = t.rects.reference, r = t.rects.popper, a = t.modifiersData.preventOverflow,
            i = Rt(t, {elementContext: "reference"}), s = Rt(t, {altBoundary: !0}), l = Bt(i, n), u = Bt(s, r, a),
            p = Et(l), d = Et(u);
        t.modifiersData[o] = {
            referenceClippingOffsets: l,
            popperEscapeOffsets: u,
            isReferenceHidden: p,
            hasPopperEscaped: d
        }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
            "data-popper-reference-hidden": p,
            "data-popper-escaped": d
        })
    }
};
var St = {
    name: "offset", enabled: !0, phase: "main", requires: ["popperOffsets"], fn: function (e) {
        var t = e.state, o = e.options, n = e.name, r = o.offset, a = void 0 === r ? [0, 0] : r,
            i = Fe.reduce((function (e, o) {
                return e[o] = function (e, t, o) {
                    var n = Ne(e), r = [Ae, xe].indexOf(n) >= 0 ? -1 : 1,
                        a = "function" == typeof o ? o(Object.assign({}, t, {placement: e})) : o, i = a[0], s = a[1];
                    return i = i || 0, s = (s || 0) * r, [Ae, ke].indexOf(n) >= 0 ? {x: s, y: i} : {x: i, y: s}
                }(o, t.rects, a), e
            }), {}), s = i[t.placement], l = s.x, u = s.y;
        null != t.modifiersData.popperOffsets && (t.modifiersData.popperOffsets.x += l, t.modifiersData.popperOffsets.y += u), t.modifiersData[n] = i
    }
};
var Pt = {
    name: "popperOffsets", enabled: !0, phase: "read", fn: function (e) {
        var t = e.state, o = e.name;
        t.modifiersData[o] = At({
            reference: t.rects.reference,
            element: t.rects.popper,
            strategy: "absolute",
            placement: t.placement
        })
    }, data: {}
};
var Mt = {
    name: "preventOverflow", enabled: !0, phase: "main", fn: function (e) {
        var t = e.state, o = e.options, n = e.name, r = o.mainAxis, a = void 0 === r || r, i = o.altAxis,
            s = void 0 !== i && i, l = o.boundary, u = o.rootBoundary, p = o.altBoundary, d = o.padding, c = o.tether,
            f = void 0 === c || c, v = o.tetherOffset, m = void 0 === v ? 0 : v,
            g = Rt(t, {boundary: l, rootBoundary: u, padding: d, altBoundary: p}), y = Ne(t.placement),
            h = it(t.placement), b = !h, w = tt(y), x = function (e) {
                return "x" === e ? "y" : "x"
            }(w), O = t.modifiersData.popperOffsets, k = t.rects.reference, A = t.rects.popper,
            R = "function" == typeof m ? m(Object.assign({}, t.rects, {placement: t.placement})) : m,
            T = "number" == typeof R ? {mainAxis: R, altAxis: R} : Object.assign({mainAxis: 0, altAxis: 0}, R),
            B = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, E = {x: 0, y: 0};
        if (O) {
            if (a) {
                var C, S = "y" === w ? xe : Ae, P = "y" === w ? Oe : ke, M = "y" === w ? "height" : "width", j = O[w],
                    F = j + g[S], D = j - g[P], H = f ? -A[M] / 2 : 0, L = h === Be ? k[M] : A[M],
                    I = h === Be ? -A[M] : -k[M], _ = t.elements.arrow, $ = f && _ ? Ke(_) : {width: 0, height: 0},
                    W = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : {
                        top: 0,
                        right: 0,
                        bottom: 0,
                        left: 0
                    }, N = W[S], z = W[P], U = ot(0, k[M], $[M]),
                    q = b ? k[M] / 2 - H - U - N - T.mainAxis : L - U - N - T.mainAxis,
                    V = b ? -k[M] / 2 + H + U + z + T.mainAxis : I + U + z + T.mainAxis,
                    K = t.elements.arrow && et(t.elements.arrow),
                    Z = K ? "y" === w ? K.clientTop || 0 : K.clientLeft || 0 : 0,
                    G = null != (C = null == B ? void 0 : B[w]) ? C : 0, X = j + V - G,
                    Y = ot(f ? Ue(F, j + q - G - Z) : F, j, f ? ze(D, X) : D);
                O[w] = Y, E[w] = Y - j
            }
            if (s) {
                var J, Q = "x" === w ? xe : Ae, ee = "x" === w ? Oe : ke, te = O[x],
                    oe = "y" === x ? "height" : "width", ne = te + g[Q], re = te - g[ee],
                    ae = -1 !== [xe, Ae].indexOf(y), ie = null != (J = null == B ? void 0 : B[x]) ? J : 0,
                    se = ae ? ne : te - k[oe] - A[oe] - ie + T.altAxis,
                    le = ae ? te + k[oe] + A[oe] - ie - T.altAxis : re, ue = f && ae ? function (e, t, o) {
                        var n = ot(e, t, o);
                        return n > o ? o : n
                    }(se, te, le) : ot(f ? se : ne, te, f ? le : re);
                O[x] = ue, E[x] = ue - te
            }
            t.modifiersData[n] = E
        }
    }, requiresIfExists: ["offset"]
};

function jt(e, t, o) {
    void 0 === o && (o = !1);
    var n = _e(t), r = _e(t) && function (e) {
        var t = e.getBoundingClientRect(), o = qe(t.width) / e.offsetWidth || 1, n = qe(t.height) / e.offsetHeight || 1;
        return 1 !== o || 1 !== n
    }(t), a = Ye(t), i = Ve(e, r), s = {scrollLeft: 0, scrollTop: 0}, l = {x: 0, y: 0};
    return (n || !n && !o) && (("body" !== He(t) || ht(a)) && (s = function (e) {
        return e !== Le(e) && _e(e) ? function (e) {
            return {scrollLeft: e.scrollLeft, scrollTop: e.scrollTop}
        }(e) : gt(e)
    }(t)), _e(t) ? ((l = Ve(t, !0)).x += t.clientLeft, l.y += t.clientTop) : a && (l.x = yt(a))), {
        x: i.left + s.scrollLeft - l.x,
        y: i.top + s.scrollTop - l.y,
        width: i.width,
        height: i.height
    }
}

function Ft(e) {
    var t = new Map, o = new Set, n = [];

    function r(e) {
        o.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach((function (e) {
            if (!o.has(e)) {
                var n = t.get(e);
                n && r(n)
            }
        })), n.push(e)
    }

    return e.forEach((function (e) {
        t.set(e.name, e)
    })), e.forEach((function (e) {
        o.has(e.name) || r(e)
    })), n
}

function Dt(e) {
    var t;
    return function () {
        return t || (t = new Promise((function (o) {
            Promise.resolve().then((function () {
                t = void 0, o(e())
            }))
        }))), t
    }
}

var Ht = {placement: "bottom", modifiers: [], strategy: "absolute"};

function Lt() {
    for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++) t[o] = arguments[o];
    return !t.some((function (e) {
        return !(e && "function" == typeof e.getBoundingClientRect)
    }))
}

function It(e) {
    void 0 === e && (e = {});
    var t = e, o = t.defaultModifiers, n = void 0 === o ? [] : o, r = t.defaultOptions, a = void 0 === r ? Ht : r;
    return function (e, t, o) {
        void 0 === o && (o = a);
        var r = {
            placement: "bottom",
            orderedModifiers: [],
            options: Object.assign({}, Ht, a),
            modifiersData: {},
            elements: {reference: e, popper: t},
            attributes: {},
            styles: {}
        }, i = [], s = !1, l = {
            state: r, setOptions: function (o) {
                var s = "function" == typeof o ? o(r.options) : o;
                u(), r.options = Object.assign({}, a, r.options, s), r.scrollParents = {
                    reference: Ie(e) ? wt(e) : e.contextElement ? wt(e.contextElement) : [],
                    popper: wt(t)
                };
                var p = function (e) {
                    var t = Ft(e);
                    return De.reduce((function (e, o) {
                        return e.concat(t.filter((function (e) {
                            return e.phase === o
                        })))
                    }), [])
                }(function (e) {
                    var t = e.reduce((function (e, t) {
                        var o = e[t.name];
                        return e[t.name] = o ? Object.assign({}, o, t, {
                            options: Object.assign({}, o.options, t.options),
                            data: Object.assign({}, o.data, t.data)
                        }) : t, e
                    }), {});
                    return Object.keys(t).map((function (e) {
                        return t[e]
                    }))
                }([].concat(n, r.options.modifiers)));
                return r.orderedModifiers = p.filter((function (e) {
                    return e.enabled
                })), r.orderedModifiers.forEach((function (e) {
                    var t = e.name, o = e.options, n = void 0 === o ? {} : o, a = e.effect;
                    if ("function" == typeof a) {
                        var s = a({state: r, name: t, instance: l, options: n}), u = function () {
                        };
                        i.push(s || u)
                    }
                })), l.update()
            }, forceUpdate: function () {
                if (!s) {
                    var e = r.elements, t = e.reference, o = e.popper;
                    if (Lt(t, o)) {
                        r.rects = {
                            reference: jt(t, et(o), "fixed" === r.options.strategy),
                            popper: Ke(o)
                        }, r.reset = !1, r.placement = r.options.placement, r.orderedModifiers.forEach((function (e) {
                            return r.modifiersData[e.name] = Object.assign({}, e.data)
                        }));
                        for (var n = 0; n < r.orderedModifiers.length; n++) if (!0 !== r.reset) {
                            var a = r.orderedModifiers[n], i = a.fn, u = a.options, p = void 0 === u ? {} : u,
                                d = a.name;
                            "function" == typeof i && (r = i({state: r, options: p, name: d, instance: l}) || r)
                        } else r.reset = !1, n = -1
                    }
                }
            }, update: Dt((function () {
                return new Promise((function (e) {
                    l.forceUpdate(), e(r)
                }))
            })), destroy: function () {
                u(), s = !0
            }
        };
        if (!Lt(e, t)) return l;

        function u() {
            i.forEach((function (e) {
                return e()
            })), i = []
        }

        return l.setOptions(o).then((function (e) {
            !s && o.onFirstUpdate && o.onFirstUpdate(e)
        })), l
    }
}

It(), It({defaultModifiers: [dt, Pt, ut, We]});
var _t = It({defaultModifiers: [dt, Pt, ut, We, St, Tt, Mt, at, Ct]});
const $t = (e, t, o = {}) => {
    const n = {
        name: "updateState", enabled: !0, phase: "write", fn: ({state: e}) => {
            const t = function (e) {
                const t = Object.keys(e.elements), o = f(t.map((t => [t, e.styles[t] || {}]))),
                    n = f(t.map((t => [t, e.attributes[t]])));
                return {styles: o, attributes: n}
            }(e);
            Object.assign(l.value, t)
        }, requires: ["computeStyles"]
    }, i = r((() => {
        const {onFirstUpdate: e, placement: t, strategy: r, modifiers: a} = u(o);
        return {
            onFirstUpdate: e,
            placement: t || "bottom",
            strategy: r || "absolute",
            modifiers: [...a || [], n, {name: "applyStyles", enabled: !1}]
        }
    })), s = p(), l = d({
        styles: {popper: {position: u(i).strategy, left: "0", top: "0"}, arrow: {position: "absolute"}},
        attributes: {}
    }), v = () => {
        s.value && (s.value.destroy(), s.value = void 0)
    };
    return a(i, (e => {
        const t = u(s);
        t && t.setOptions(e)
    }), {deep: !0}), a([e, t], (([e, t]) => {
        v(), e && t && (s.value = _t(e, t, u(i)))
    })), c((() => {
        v()
    })), {
        state: r((() => {
            var e;
            return {...(null == (e = u(s)) ? void 0 : e.state) || {}}
        })), styles: r((() => u(l).styles)), attributes: r((() => u(l).attributes)), update: () => {
            var e;
            return null == (e = u(s)) ? void 0 : e.update()
        }, forceUpdate: () => {
            var e;
            return null == (e = u(s)) ? void 0 : e.forceUpdate()
        }, instanceRef: r((() => u(s)))
    }
};

function Wt() {
    let e;
    const t = () => window.clearTimeout(e);
    return v((() => t())), {
        registerTimeout: (o, n) => {
            t(), e = window.setTimeout(o, n)
        }, cancelTimeout: t
    }
}

let Nt;
const zt = () => {
    const e = g(), t = ce(), o = r((() => `${e.value}-popper-container-${t.prefix}`)), n = r((() => `#${o.value}`));
    return {id: o, selector: n}
}, Ut = () => {
    const {id: e, selector: t} = zt();
    return m((() => {
        s && (Nt || document.body.querySelector(t.value) || (Nt = (e => {
            const t = document.createElement("div");
            return t.id = e, document.body.appendChild(t), t
        })(e.value)))
    })), {id: e, selector: t}
}, qt = y({
    showAfter: {type: Number, default: 0},
    hideAfter: {type: Number, default: 200},
    autoClose: {type: Number, default: 0}
}), Vt = ({showAfter: e, hideAfter: t, autoClose: o, open: n, close: r}) => {
    const {registerTimeout: a} = Wt(), {registerTimeout: i, cancelTimeout: s} = Wt();
    return {
        onOpen: t => {
            a((() => {
                n(t);
                const e = u(o);
                h(e) && e > 0 && i((() => {
                    r(t)
                }), e)
            }), u(e))
        }, onClose: e => {
            s(), a((() => {
                r(e)
            }), u(t))
        }
    }
}, Kt = Symbol("elForwardRef"), Zt = Symbol("popper"), Gt = Symbol("popperContent"), Xt = y({
    role: {
        type: String,
        values: ["dialog", "grid", "group", "listbox", "menu", "navigation", "tooltip", "tree"],
        default: "tooltip"
    }
}), Yt = w({name: "ElPopper", inheritAttrs: !1});
var Jt = O(w({
    ...Yt, props: Xt, setup(e, {expose: t}) {
        const o = e,
            n = {triggerRef: d(), popperInstanceRef: d(), contentRef: d(), referenceRef: d(), role: r((() => o.role))};
        return t(n), b(Zt, n), (e, t) => x(e.$slots, "default")
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);
const Qt = y({arrowOffset: {type: Number, default: 5}}), eo = w({name: "ElPopperArrow", inheritAttrs: !1});
var to = O(w({
    ...eo, props: Qt, setup(e, {expose: t}) {
        const o = e, n = k("popper"), {arrowOffset: r, arrowRef: i, arrowStyle: s} = A(Gt, void 0);
        return a((() => o.arrowOffset), (e => {
            r.value = e
        })), c((() => {
            i.value = void 0
        })), t({arrowRef: i}), (e, t) => (R(), T("span", {
            ref_key: "arrowRef",
            ref: i,
            class: B(u(n).e("arrow")),
            style: E(u(s)),
            "data-popper-arrow": ""
        }, null, 6))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);
const oo = w({
    name: "ElOnlyChild", setup(e, {slots: t, attrs: o}) {
        var n;
        const r = A(Kt), a = (i = null != (n = null == r ? void 0 : r.setForwardRef) ? n : C, {
            mounted(e) {
                i(e)
            }, updated(e) {
                i(e)
            }, unmounted() {
                i(null)
            }
        });
        var i;
        return () => {
            var e;
            const n = null == (e = t.default) ? void 0 : e.call(t, o);
            if (!n) return null;
            if (n.length > 1) return null;
            const r = no(n);
            return r ? S(P(r, o), [[a]]) : null
        }
    }
});

function no(e) {
    if (!e) return null;
    const t = e;
    for (const o of t) {
        if (M(o)) switch (o.type) {
            case D:
                continue;
            case F:
            case"svg":
                return ro(o);
            case j:
                return no(o.children);
            default:
                return o
        }
        return ro(o)
    }
    return null
}

function ro(e) {
    const t = k("only-child");
    return H("span", {class: t.e("content")}, [e])
}

const ao = y({
    virtualRef: {type: o(Object)},
    virtualTriggering: Boolean,
    onMouseenter: {type: o(Function)},
    onMouseleave: {type: o(Function)},
    onClick: {type: o(Function)},
    onKeydown: {type: o(Function)},
    onFocus: {type: o(Function)},
    onBlur: {type: o(Function)},
    onContextmenu: {type: o(Function)},
    id: String,
    open: Boolean
}), io = w({name: "ElPopperTrigger", inheritAttrs: !1});
var so = O(w({
    ...io, props: ao, setup(e, {expose: t}) {
        const o = e, {role: n, triggerRef: s} = A(Zt, void 0);
        var l;
        l = s, b(Kt, {
            setForwardRef: e => {
                l.value = e
            }
        });
        const p = r((() => f.value ? o.id : void 0)), d = r((() => {
            if (n && "tooltip" === n.value) return o.open && o.id ? o.id : void 0
        })), f = r((() => {
            if (n && "tooltip" !== n.value) return n.value
        })), v = r((() => f.value ? `${o.open}` : void 0));
        let m;
        return i((() => {
            a((() => o.virtualRef), (e => {
                e && (s.value = L(e))
            }), {immediate: !0}), a(s, ((e, t) => {
                null == m || m(), m = void 0, I(e) && (["onMouseenter", "onMouseleave", "onClick", "onKeydown", "onFocus", "onBlur", "onContextmenu"].forEach((n => {
                    var r;
                    const a = o[n];
                    a && (e.addEventListener(n.slice(2).toLowerCase(), a), null == (r = null == t ? void 0 : t.removeEventListener) || r.call(t, n.slice(2).toLowerCase(), a))
                })), m = a([p, d, f, v], (t => {
                    ["aria-controls", "aria-describedby", "aria-haspopup", "aria-expanded"].forEach(((o, n) => {
                        le(t[n]) ? e.removeAttribute(o) : e.setAttribute(o, t[n])
                    }))
                }), {immediate: !0})), I(t) && ["aria-controls", "aria-describedby", "aria-haspopup", "aria-expanded"].forEach((e => t.removeAttribute(e)))
            }), {immediate: !0})
        })), c((() => {
            null == m || m(), m = void 0
        })), t({triggerRef: s}), (e, t) => e.virtualTriggering ? N("v-if", !0) : (R(), _(u(oo), W({key: 0}, e.$attrs, {
            "aria-controls": u(p),
            "aria-describedby": u(d),
            "aria-expanded": u(v),
            "aria-haspopup": u(f)
        }), {
            default: $((() => [x(e.$slots, "default")])),
            _: 3
        }, 16, ["aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup"]))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);
const lo = y({
    boundariesPadding: {type: Number, default: 0},
    fallbackPlacements: {type: o(Array), default: void 0},
    gpuAcceleration: {type: Boolean, default: !0},
    offset: {type: Number, default: 12},
    placement: {type: String, values: Fe, default: "bottom"},
    popperOptions: {type: o(Object), default: () => ({})},
    strategy: {type: String, values: ["fixed", "absolute"], default: "absolute"}
}), uo = y({
    ...lo,
    id: String,
    style: {type: o([String, Array, Object])},
    className: {type: o([String, Array, Object])},
    effect: {type: String, default: "dark"},
    visible: Boolean,
    enterable: {type: Boolean, default: !0},
    pure: Boolean,
    focusOnShow: {type: Boolean, default: !1},
    trapping: {type: Boolean, default: !1},
    popperClass: {type: o([String, Array, Object])},
    popperStyle: {type: o([String, Array, Object])},
    referenceEl: {type: o(Object)},
    triggerTargetEl: {type: o(Object)},
    stopPopperMouseEvent: {type: Boolean, default: !0},
    ariaLabel: {type: String, default: void 0},
    virtualTriggering: Boolean,
    zIndex: Number
}), po = {
    mouseenter: e => e instanceof MouseEvent,
    mouseleave: e => e instanceof MouseEvent,
    focus: () => !0,
    blur: () => !0,
    close: () => !0
}, co = (e, t = []) => {
    const {placement: o, strategy: n, popperOptions: r} = e,
        a = {placement: o, strategy: n, ...r, modifiers: [...fo(e), ...t]};
    return function (e, t) {
        t && (e.modifiers = [...e.modifiers, ...null != t ? t : []])
    }(a, null == r ? void 0 : r.modifiers), a
};

function fo(e) {
    const {offset: t, gpuAcceleration: o, fallbackPlacements: n} = e;
    return [{name: "offset", options: {offset: [0, null != t ? t : 12]}}, {
        name: "preventOverflow",
        options: {padding: {top: 2, bottom: 2, left: 5, right: 5}}
    }, {name: "flip", options: {padding: 5, fallbackPlacements: n}}, {
        name: "computeStyles",
        options: {gpuAcceleration: o}
    }]
}

const vo = e => {
    const {popperInstanceRef: t, contentRef: o, triggerRef: n, role: l} = A(Zt, void 0), p = d(), c = d(),
        f = r((() => ({name: "eventListeners", enabled: !!e.visible}))), v = r((() => {
            var e;
            const t = u(p), o = null != (e = u(c)) ? e : 0;
            return {name: "arrow", enabled: (n = t, !(void 0 === n)), options: {element: t, padding: o}};
            var n
        })), m = r((() => ({
            onFirstUpdate: () => {
                w()
            }, ...co(e, [u(v), u(f)])
        }))), g = r((() => (e => {
            if (s) return L(e)
        })(e.referenceEl) || u(n))), {
            attributes: y,
            state: h,
            styles: b,
            update: w,
            forceUpdate: x,
            instanceRef: O
        } = $t(g, o, m);
    return a(O, (e => t.value = e)), i((() => {
        a((() => {
            var e;
            return null == (e = u(g)) ? void 0 : e.getBoundingClientRect()
        }), (() => {
            w()
        }))
    })), {
        attributes: y,
        arrowRef: p,
        contentRef: o,
        instanceRef: O,
        state: h,
        styles: b,
        role: l,
        forceUpdate: x,
        update: w
    }
}, mo = w({name: "ElPopperContent"});
var go = O(w({
    ...mo, props: uo, emits: po, setup(e, {expose: t, emit: o}) {
        const n = e, {
            focusStartRef: s,
            trapped: l,
            onFocusAfterReleased: p,
            onFocusAfterTrapped: f,
            onFocusInTrap: v,
            onFocusoutPrevented: m,
            onReleaseRequested: g
        } = ((e, t) => {
            const o = d(!1), n = d();
            return {
                focusStartRef: n, trapped: o, onFocusAfterReleased: e => {
                    var o;
                    "pointer" !== (null == (o = e.detail) ? void 0 : o.focusReason) && (n.value = "first", t("blur"))
                }, onFocusAfterTrapped: () => {
                    t("focus")
                }, onFocusInTrap: t => {
                    e.visible && !o.value && (t.target && (n.value = t.target), o.value = !0)
                }, onFocusoutPrevented: t => {
                    e.trapping || ("pointer" === t.detail.focusReason && t.preventDefault(), o.value = !1)
                }, onReleaseRequested: () => {
                    o.value = !1, t("close")
                }
            }
        })(n, o), {
            attributes: y,
            arrowRef: h,
            contentRef: w,
            styles: O,
            instanceRef: B,
            role: E,
            update: S
        } = vo(n), {
            ariaModal: P,
            arrowStyle: M,
            contentAttrs: j,
            contentClass: F,
            contentStyle: D,
            updateZIndex: L
        } = ((e, {attributes: t, styles: o, role: n}) => {
            const {nextZIndex: a} = z(), i = k("popper"), s = r((() => u(t).popper)), l = d(e.zIndex || a()),
                p = r((() => [i.b(), i.is("pure", e.pure), i.is(e.effect), e.popperClass])),
                c = r((() => [{zIndex: u(l)}, e.popperStyle || {}, u(o).popper]));
            return {
                ariaModal: r((() => "dialog" === n.value ? "false" : void 0)),
                arrowStyle: r((() => u(o).arrow || {})),
                contentAttrs: s,
                contentClass: p,
                contentStyle: c,
                contentZIndex: l,
                updateZIndex: () => {
                    l.value = e.zIndex || a()
                }
            }
        })(n, {styles: O, attributes: y, role: E}), _ = A(fe, void 0), N = d();
        let U;
        b(Gt, {arrowStyle: M, arrowRef: h, arrowOffset: N}), _ && (_.addInputId || _.removeInputId) && b(fe, {
            ..._,
            addInputId: C,
            removeInputId: C
        });
        const q = (e = !0) => {
            S(), e && L()
        }, V = () => {
            q(!1), n.visible && n.focusOnShow ? l.value = !0 : !1 === n.visible && (l.value = !1)
        };
        return i((() => {
            a((() => n.triggerTargetEl), ((e, t) => {
                null == U || U(), U = void 0;
                const o = u(e || w.value), r = u(t || w.value);
                I(o) && (U = a([E, () => n.ariaLabel, P, () => n.id], (e => {
                    ["role", "aria-label", "aria-modal", "id"].forEach(((t, n) => {
                        le(e[n]) ? o.removeAttribute(t) : o.setAttribute(t, e[n])
                    }))
                }), {immediate: !0})), r !== o && I(r) && ["role", "aria-label", "aria-modal", "id"].forEach((e => {
                    r.removeAttribute(e)
                }))
            }), {immediate: !0}), a((() => n.visible), V, {immediate: !0})
        })), c((() => {
            null == U || U(), U = void 0
        })), t({
            popperContentRef: w,
            popperInstanceRef: B,
            updatePopper: q,
            contentStyle: D
        }), (e, t) => (R(), T("div", W({ref_key: "contentRef", ref: w}, u(j), {
            style: u(D),
            class: u(F),
            tabindex: "-1",
            onMouseenter: t[0] || (t[0] = t => e.$emit("mouseenter", t)),
            onMouseleave: t[1] || (t[1] = t => e.$emit("mouseleave", t))
        }), [H(u(ue), {
            trapped: u(l),
            "trap-on-focus-in": !0,
            "focus-trap-el": u(w),
            "focus-start-el": u(s),
            onFocusAfterTrapped: u(f),
            onFocusAfterReleased: u(p),
            onFocusin: u(v),
            onFocusoutPrevented: u(m),
            onReleaseRequested: u(g)
        }, {
            default: $((() => [x(e.$slots, "default")])),
            _: 3
        }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusin", "onFocusoutPrevented", "onReleaseRequested"])], 16))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
const yo = U(Jt), ho = Symbol("elTooltip"), bo = y({
        ...qt, ...uo,
        appendTo: {type: o([String, Object])},
        content: {type: String, default: ""},
        rawContent: {type: Boolean, default: !1},
        persistent: Boolean,
        ariaLabel: String,
        visible: {type: o(Boolean), default: null},
        transition: String,
        teleported: {type: Boolean, default: !0},
        disabled: Boolean
    }), wo = y({
        ...ao,
        disabled: Boolean,
        trigger: {type: o([String, Array]), default: "hover"},
        triggerKeys: {type: o(Array), default: () => [q.enter, q.space]}
    }), {useModelToggleProps: xo, useModelToggleEmits: Oo, useModelToggle: ko} = we("visible"),
    Ao = y({...Xt, ...xo, ...bo, ...wo, ...Qt, showArrow: {type: Boolean, default: !0}}),
    Ro = [...Oo, "before-show", "before-hide", "show", "hide", "open", "close"], To = (e, t, o) => n => {
        ((e, t) => V(e) ? e.includes(t) : e === t)(u(e), t) && o(n)
    }, Bo = w({name: "ElTooltipTrigger"});
var Eo = O(w({
    ...Bo, props: wo, setup(e, {expose: t}) {
        const o = e, n = k("tooltip"), {
                controlled: r,
                id: a,
                open: i,
                onOpen: s,
                onClose: l,
                onToggle: p
            } = A(ho, void 0), c = d(null), f = () => {
                if (u(r) || o.disabled) return !0
            }, v = K(o, "trigger"), m = me(f, To(v, "hover", s)), g = me(f, To(v, "hover", l)),
            y = me(f, To(v, "click", (e => {
                0 === e.button && p(e)
            }))), h = me(f, To(v, "focus", s)), b = me(f, To(v, "focus", l)), w = me(f, To(v, "contextmenu", (e => {
                e.preventDefault(), p(e)
            }))), O = me(f, (e => {
                const {code: t} = e;
                o.triggerKeys.includes(t) && (e.preventDefault(), p(e))
            }));
        return t({triggerRef: c}), (e, t) => (R(), _(u(so), {
            id: u(a),
            "virtual-ref": e.virtualRef,
            open: u(i),
            "virtual-triggering": e.virtualTriggering,
            class: B(u(n).e("trigger")),
            onBlur: u(b),
            onClick: u(y),
            onContextmenu: u(w),
            onFocus: u(h),
            onMouseenter: u(m),
            onMouseleave: u(g),
            onKeydown: u(O)
        }, {
            default: $((() => [x(e.$slots, "default")])),
            _: 3
        }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);
const Co = w({name: "ElTooltipContent", inheritAttrs: !1});
var So = O(w({
    ...Co, props: bo, setup(e, {expose: t}) {
        const o = e, {selector: n} = zt(), i = k("tooltip"), s = d(null), l = d(!1), {
                controlled: p,
                id: f,
                open: v,
                trigger: m,
                onClose: g,
                onOpen: y,
                onShow: h,
                onHide: b,
                onBeforeShow: w,
                onBeforeHide: O
            } = A(ho, void 0), T = r((() => o.transition || `${i.namespace.value}-fade-in-linear`)),
            B = r((() => o.persistent));
        c((() => {
            l.value = !0
        }));
        const E = r((() => !!u(B) || u(v))), C = r((() => !o.disabled && u(v))), P = r((() => o.appendTo || n.value)),
            M = r((() => {
                var e;
                return null != (e = o.style) ? e : {}
            })), j = r((() => !u(v))), F = () => {
                b()
            }, D = () => {
                if (u(p)) return !0
            }, L = me(D, (() => {
                o.enterable && "hover" === u(m) && y()
            })), I = me(D, (() => {
                "hover" === u(m) && g()
            })), z = () => {
                var e, t;
                null == (t = null == (e = s.value) ? void 0 : e.updatePopper) || t.call(e), null == w || w()
            }, U = () => {
                null == O || O()
            }, q = () => {
                h(), K = Y(r((() => {
                    var e;
                    return null == (e = s.value) ? void 0 : e.popperContentRef
                })), (() => {
                    if (u(p)) return;
                    "hover" !== u(m) && g()
                }))
            }, V = () => {
                o.virtualTriggering || g()
            };
        let K;
        return a((() => u(v)), (e => {
            e || null == K || K()
        }), {flush: "post"}), a((() => o.content), (() => {
            var e, t;
            null == (t = null == (e = s.value) ? void 0 : e.updatePopper) || t.call(e)
        })), t({contentRef: s}), (e, t) => (R(), _(X, {disabled: !e.teleported, to: u(P)}, [H(G, {
            name: u(T),
            onAfterLeave: F,
            onBeforeEnter: z,
            onAfterEnter: q,
            onBeforeLeave: U
        }, {
            default: $((() => [u(E) ? S((R(), _(u(go), W({
                key: 0,
                id: u(f),
                ref_key: "contentRef",
                ref: s
            }, e.$attrs, {
                "aria-label": e.ariaLabel,
                "aria-hidden": u(j),
                "boundaries-padding": e.boundariesPadding,
                "fallback-placements": e.fallbackPlacements,
                "gpu-acceleration": e.gpuAcceleration,
                offset: e.offset,
                placement: e.placement,
                "popper-options": e.popperOptions,
                strategy: e.strategy,
                effect: e.effect,
                enterable: e.enterable,
                pure: e.pure,
                "popper-class": e.popperClass,
                "popper-style": [e.popperStyle, u(M)],
                "reference-el": e.referenceEl,
                "trigger-target-el": e.triggerTargetEl,
                visible: u(C),
                "z-index": e.zIndex,
                onMouseenter: u(L),
                onMouseleave: u(I),
                onBlur: V,
                onClose: u(g)
            }), {
                default: $((() => [l.value ? N("v-if", !0) : x(e.$slots, "default", {key: 0})])),
                _: 3
            }, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [[Z, u(C)]]) : N("v-if", !0)])),
            _: 3
        }, 8, ["name"])], 8, ["disabled", "to"]))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);
const Po = ["innerHTML"], Mo = {key: 1}, jo = w({name: "ElTooltip"});
const Fo = U(O(w({
        ...jo, props: Ao, emits: Ro, setup(e, {expose: t, emit: o}) {
            const n = e;
            Ut();
            const i = ve(), s = d(), p = d(), c = () => {
                var e;
                const t = u(s);
                t && (null == (e = t.popperInstanceRef) || e.update())
            }, f = d(!1), v = d(), {show: m, hide: g, hasUpdateHandler: y} = ko({
                indicator: f,
                toggleReason: v
            }), {onOpen: h, onClose: w} = Vt({
                showAfter: K(n, "showAfter"),
                hideAfter: K(n, "hideAfter"),
                autoClose: K(n, "autoClose"),
                open: m,
                close: g
            }), O = r((() => l(n.visible) && !y.value));
            b(ho, {
                controlled: O, id: i, open: J(f), trigger: K(n, "trigger"), onOpen: e => {
                    h(e)
                }, onClose: e => {
                    w(e)
                }, onToggle: e => {
                    u(f) ? w(e) : h(e)
                }, onShow: () => {
                    o("show", v.value)
                }, onHide: () => {
                    o("hide", v.value)
                }, onBeforeShow: () => {
                    o("before-show", v.value)
                }, onBeforeHide: () => {
                    o("before-hide", v.value)
                }, updatePopper: c
            }), a((() => n.disabled), (e => {
                e && f.value && (f.value = !1)
            }));
            return Q((() => f.value && g())), t({
                popperRef: s, contentRef: p, isFocusInsideContent: () => {
                    var e, t;
                    const o = null == (t = null == (e = p.value) ? void 0 : e.contentRef) ? void 0 : t.popperContentRef;
                    return o && o.contains(document.activeElement)
                }, updatePopper: c, onOpen: h, onClose: w, hide: g
            }), (e, t) => (R(), _(u(yo), {ref_key: "popperRef", ref: s, role: e.role}, {
                default: $((() => [H(Eo, {
                    disabled: e.disabled,
                    trigger: e.trigger,
                    "trigger-keys": e.triggerKeys,
                    "virtual-ref": e.virtualRef,
                    "virtual-triggering": e.virtualTriggering
                }, {
                    default: $((() => [e.$slots.default ? x(e.$slots, "default", {key: 0}) : N("v-if", !0)])),
                    _: 3
                }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]), H(So, {
                    ref_key: "contentRef",
                    ref: p,
                    "aria-label": e.ariaLabel,
                    "boundaries-padding": e.boundariesPadding,
                    content: e.content,
                    disabled: e.disabled,
                    effect: e.effect,
                    enterable: e.enterable,
                    "fallback-placements": e.fallbackPlacements,
                    "hide-after": e.hideAfter,
                    "gpu-acceleration": e.gpuAcceleration,
                    offset: e.offset,
                    persistent: e.persistent,
                    "popper-class": e.popperClass,
                    "popper-style": e.popperStyle,
                    placement: e.placement,
                    "popper-options": e.popperOptions,
                    pure: e.pure,
                    "raw-content": e.rawContent,
                    "reference-el": e.referenceEl,
                    "trigger-target-el": e.triggerTargetEl,
                    "show-after": e.showAfter,
                    strategy: e.strategy,
                    teleported: e.teleported,
                    transition: e.transition,
                    "virtual-triggering": e.virtualTriggering,
                    "z-index": e.zIndex,
                    "append-to": e.appendTo
                }, {
                    default: $((() => [x(e.$slots, "content", {}, (() => [e.rawContent ? (R(), T("span", {
                        key: 0,
                        innerHTML: e.content
                    }, null, 8, Po)) : (R(), T("span", Mo, ee(e.content), 1))])), e.showArrow ? (R(), _(u(to), {
                        key: 0,
                        "arrow-offset": e.arrowOffset
                    }, null, 8, ["arrow-offset"])) : N("v-if", !0)])), _: 3
                }, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])])),
                _: 3
            }, 8, ["role"]))
        }
    }), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]])),
    Do = w({name: "ElCollapseTransition"});
var Ho = O(w({
    ...Do, setup(e) {
        const t = k("collapse-transition"), o = {
            beforeEnter(e) {
                e.dataset || (e.dataset = {}), e.dataset.oldPaddingTop = e.style.paddingTop, e.dataset.oldPaddingBottom = e.style.paddingBottom, e.style.maxHeight = 0, e.style.paddingTop = 0, e.style.paddingBottom = 0
            }, enter(e) {
                e.dataset.oldOverflow = e.style.overflow, 0 !== e.scrollHeight ? (e.style.maxHeight = `${e.scrollHeight}px`, e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom) : (e.style.maxHeight = 0, e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom), e.style.overflow = "hidden"
            }, afterEnter(e) {
                e.style.maxHeight = "", e.style.overflow = e.dataset.oldOverflow
            }, beforeLeave(e) {
                e.dataset || (e.dataset = {}), e.dataset.oldPaddingTop = e.style.paddingTop, e.dataset.oldPaddingBottom = e.style.paddingBottom, e.dataset.oldOverflow = e.style.overflow, e.style.maxHeight = `${e.scrollHeight}px`, e.style.overflow = "hidden"
            }, leave(e) {
                0 !== e.scrollHeight && (e.style.maxHeight = 0, e.style.paddingTop = 0, e.style.paddingBottom = 0)
            }, afterLeave(e) {
                e.style.maxHeight = "", e.style.overflow = e.dataset.oldOverflow, e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom
            }
        };
        return (e, n) => (R(), _(G, W({name: u(t).b()}, te(o)), {
            default: $((() => [x(e.$slots, "default")])),
            _: 3
        }, 16, ["name"]))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);
Ho.install = e => {
    e.component(Ho.name, Ho)
};
const Lo = Ho, Io = y({
    center: {type: Boolean, default: !1},
    alignCenter: {type: Boolean, default: !1},
    closeIcon: {type: oe},
    customClass: {type: String, default: ""},
    draggable: {type: Boolean, default: !1},
    fullscreen: {type: Boolean, default: !1},
    showClose: {type: Boolean, default: !0},
    title: {type: String, default: ""}
}), _o = {close: () => !0}, $o = y({
    ...Io,
    appendToBody: {type: Boolean, default: !1},
    beforeClose: {type: o(Function)},
    destroyOnClose: {type: Boolean, default: !1},
    closeOnClickModal: {type: Boolean, default: !0},
    closeOnPressEscape: {type: Boolean, default: !0},
    lockScroll: {type: Boolean, default: !0},
    modal: {type: Boolean, default: !0},
    openDelay: {type: Number, default: 0},
    closeDelay: {type: Number, default: 0},
    top: {type: String},
    modelValue: {type: Boolean, default: !1},
    modalClass: String,
    width: {type: [String, Number]},
    zIndex: {type: Number},
    trapFocus: {type: Boolean, default: !1}
}), Wo = {
    open: () => !0,
    opened: () => !0,
    close: () => !0,
    closed: () => !0,
    [pe]: e => l(e),
    openAutoFocus: () => !0,
    closeAutoFocus: () => !0
}, No = (e, t) => {
    const o = n().emit, {nextZIndex: l} = z();
    let u = "";
    const p = ve(), c = ve(), f = d(!1), v = d(!1), m = d(!1), g = d(e.zIndex || l());
    let y, h;
    const b = ne("namespace", ie), w = r((() => {
        const t = {}, o = `--${b.value}-dialog`;
        return e.fullscreen || (e.top && (t[`${o}-margin-top`] = e.top), e.width && (t[`${o}-width`] = re(e.width))), t
    })), x = r((() => e.alignCenter ? {display: "flex"} : {}));

    function O() {
        null == h || h(), null == y || y(), e.openDelay && e.openDelay > 0 ? ({stop: y} = se((() => R()), e.openDelay)) : R()
    }

    function k() {
        null == y || y(), null == h || h(), e.closeDelay && e.closeDelay > 0 ? ({stop: h} = se((() => T()), e.closeDelay)) : T()
    }

    function A() {
        e.beforeClose ? e.beforeClose((function (e) {
            e || (v.value = !0, f.value = !1)
        })) : k()
    }

    function R() {
        s && (f.value = !0)
    }

    function T() {
        f.value = !1
    }

    return e.lockScroll && de(f), a((() => e.modelValue), (n => {
        n ? (v.value = !1, O(), m.value = !0, g.value = e.zIndex ? g.value++ : l(), ae((() => {
            o("open"), t.value && (t.value.scrollTop = 0)
        }))) : f.value && k()
    })), a((() => e.fullscreen), (e => {
        t.value && (e ? (u = t.value.style.transform, t.value.style.transform = "") : t.value.style.transform = u)
    })), i((() => {
        e.modelValue && (f.value = !0, m.value = !0, O())
    })), {
        afterEnter: function () {
            o("opened")
        }, afterLeave: function () {
            o("closed"), o(pe, !1), e.destroyOnClose && (m.value = !1)
        }, beforeLeave: function () {
            o("close")
        }, handleClose: A, onModalClick: function () {
            e.closeOnClickModal && A()
        }, close: k, doClose: T, onOpenAutoFocus: function () {
            o("openAutoFocus")
        }, onCloseAutoFocus: function () {
            o("closeAutoFocus")
        }, onCloseRequested: function () {
            e.closeOnPressEscape && A()
        }, onFocusoutPrevented: function (e) {
            var t;
            "pointer" === (null == (t = e.detail) ? void 0 : t.focusReason) && e.preventDefault()
        }, titleId: p, bodyId: c, closed: v, style: w, overlayDialogStyle: x, rendered: m, visible: f, zIndex: g
    }
}, zo = y({
    direction: {type: String, values: ["horizontal", "vertical"], default: "horizontal"},
    contentPosition: {type: String, values: ["left", "center", "right"], default: "center"},
    borderStyle: {type: o(String), default: "solid"}
}), Uo = w({name: "ElDivider"});
const qo = U(O(w({
    ...Uo, props: zo, setup(e) {
        const t = e, o = k("divider"), n = r((() => o.cssVar({"border-style": t.borderStyle})));
        return (e, t) => (R(), T("div", {
            class: B([u(o).b(), u(o).m(e.direction)]),
            style: E(u(n)),
            role: "separator"
        }, [e.$slots.default && "vertical" !== e.direction ? (R(), T("div", {
            key: 0,
            class: B([u(o).e("text"), u(o).is(e.contentPosition)])
        }, [x(e.$slots, "default")], 2)) : N("v-if", !0)], 6))
    }
}), [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]));
export {
    qo as E,
    oo as O,
    ho as T,
    Lo as _,
    Fo as a,
    bo as b,
    _o as c,
    Io as d,
    ye as e,
    $o as f,
    Wo as g,
    No as h,
    Fe as i,
    me as j,
    wo as k,
    Vt as u,
    ge as w,
    _t as y
};
